<template>
    <div>
        <h1>响应式数据的判断</h1>
    </div>
</template>
<script lang="ts">
import {defineComponent, isProxy, isReactive, isReadonly, isRef, reactive, readonly, ref} from 'vue'

export default defineComponent({
    name:"建哥",
    props:{
        name:{
            type:String,
            default:"建哥"
        }
    },
    setup(props,context){
        console.log(props.name);

        console.log(isRef(ref("建哥")));

        console.log(isReactive(reactive({})));

        console.log(isReadonly(readonly({})));
        
        console.log(isProxy(readonly({})));

        console.log(isProxy(reactive({})));
        
    }
})

</script>
